<!--src\App.vue  -->
<template>
  <!-- 按时路由匹配到组件，如在/router/index.js中，'/'匹配到Home.vue组件 -->
  <router-view class="router-view"></router-view>
</template>

<script>
export default{
  name: 'App'
}
</script>

<style>
*{
  box-sizing: border-box;
}
html, body{
  height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
}
#app {
  height: 100%;
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}
.router-view{
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: 0 auto;
  -webkit-overflow-scrolling: touch;
}
input{
  border: none;
  outline: none;
  -webkit-appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: rgb(0, 0, 0);
}

p{
  margin: 0;
  padding: 0;
}
</style>